package shejimoshi.yuanxingmoshi;

public class ConcretePrototype implements Prototype {
    private String type;

    public ConcretePrototype(String type) {
        this.type = type;
    }

    @Override
    public Prototype clone() {
        try {
            return (ConcretePrototype) super.clone();
        } catch (CloneNotSupportedException e) {
            e.printStackTrace();
            return null;
        }
    }

}
